<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>

 <link type="text/css" rel="stylesheet" href="css/bootstrap.css"/>
 <link type="text/css" rel="stylesheet" href="css/style.css"/>
<script  type="text/javascript" src="js/JavaScript.js"></script>
</head>
<body>
<jsp:include page="inc/header.jsp" />
<div class="container">
<form class = "form-horizontal">
<fieldset>
<legend> Ajouter une nouvelle propriete</legend>
	<div class="control-group">
		<label class="control-label" for="ref">Reference : </label>
		<div class="controls">
		  <input type="text" id="refPropriete" placeholder="Réference propriete">
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">
		<input type="radio" name="optionsRadios" id="habitable" value="habitable" onclick="aAfficher()" checked >
		Habitable
		</label>
		<label class="control-label">
		<input type="radio" name="optionsRadios" id="terrain" value="terrain" onclick="aAfficher()"> 
		Terrain
		</label>
	</div>
	<div class="control-group">
		<label class="control-label" for="inputEmail">Proprietaire : </label>
		<div class="controls">
		  <input type="text" id="idProprio" placeholder="Proprietaire">
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="inputEmail">Prix de vente : </label>
		<div class="controls">
		  <input type="text" id="prixPropriete" placeholder="Prix de vente ">
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="inputEmail">Libelle : </label>
		<div class="controls">
		  <input type="text" id="libPropriete" placeholder="Libelle propriete">
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="inputEmail">Description : </label>
		<div class="controls">
		  <textarea rows="3"></textarea>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="inputEmail">Prix minimum de vente : </label>
		<div class="controls">
		  <input type="text" id="prixMiniPropriete" placeholder="Prix minimum de vente ">
		</div>
	</div>
	<div class="control-group" id="divHabitable2" style="display : none">
		<label class="control-label" for="inputEmail">Nombre de piece :  </label>
		<div class="controls">
		  <input type="text" id="nbPieceHabitable" placeholder="Nombre de pièce">
		</div>
	</div>
	<div class="control-group" id="divTerrain1" style="display : none">
		<label class="control-label" for="inputEmail">Constructible ? (oui ou non) : </label>
		<div class="controls">
		  <input type="text" id="estConstructibleTerrain" placeholder="oui ou non">
		</div>
	</div>
	<div class="control-group">
	<button class="btn btn-small btn-primary" type="submit">Ajouter</button>
	</div>
</fieldset>
</form>
</div>
</body>
</html>